home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 857 b | 42 lines | [TEXT/GEOL] |
- Item 9107776 21-July-88 16:05
-
- From: D1220 VarLite, Dev, Andy Meldrum
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: What's the Difference Between.
-
- I'm a bit confused on what criteria I should use to decide when to create new
- method & when I should override an existing method...
-
- For example.. what exactly is the difference between..
-
- MyObject = OBJECT (TObject);
- PROCEDURE MyObject.IMyObject;
-
- IMyObject
- BEGIN
- IObject;
- My Init Code...;
- END;
-
- &
-
- MyObject = OBJECT (TObject);
-
- PROCEDURE MyObject.IMyObject ; OVERRIDE;
-
- BEGIN
- INHERITED IObject;
- My Init Code...;
- END;
-
- They look about the same to me although I'm aware that the method IObject is
- available to call directly in the first approach but that seems about it..
-
- Yours puzzled..
- Andy .
-
-
-
-